#ifndef MAIN_RIGHT_WIDGET_H
#define MAIN_RIGHT_WIDGET_H

#include <QMainWindow>
#include <QWidget>
#include <QPainter>
#include <QPaintEvent>
#include <QStyleOption>
#include <QPushButton>
#include <QVBoxLayout>
#include <QDebug>

#include "simple_clock.h"
#include "study_widget.h"
#include "daily_widget.h"
#include "friends_widget.h"

class main_right_widget:public QWidget
{
    Q_OBJECT
public:
    main_right_widget(QWidget *parent=0);
    void paintEvent(QPaintEvent *event);

    study_widget *m_study_widget;
    daily_widget *m_daily_widget;
    friends_widget *m_friend_widget;
private:
    QPushButton *test;
    QVBoxLayout *vtest;
    simple_clock *m_clock;
public slots:
    void showMyClock();
    void showStudyWidget();
    void showDailyWidget();
    void showFriendWidget();
};

#endif // MAIN_RIGHT_WIDGET_H
